﻿using System;
using UnityEngine;
using UnityEngine.UI;

// Token: 0x020001C9 RID: 457
public class CutActionEdit_Anime : CutActionEdit
{
	// Token: 0x06000BE4 RID: 3044 RVA: 0x0004588C File Offset: 0x00043A8C
	public override void Setup(CutAction act)
	{
		this.actAnime = (act as CutAct_Anime);
		this.charaInput.text = this.actAnime.chara;
		this.stateInput.text = this.actAnime.state;
		this.durationInput.text = this.actAnime.duration.ToString();
	}

	// Token: 0x06000BE5 RID: 3045 RVA: 0x000458F4 File Offset: 0x00043AF4
	public void SetChara(string str)
	{
		this.actAnime.chara = str;
	}

	// Token: 0x06000BE6 RID: 3046 RVA: 0x00045904 File Offset: 0x00043B04
	public void SetState(string str)
	{
		this.actAnime.state = str;
	}

	// Token: 0x06000BE7 RID: 3047 RVA: 0x00045914 File Offset: 0x00043B14
	public void SetDuration(string str)
	{
		try
		{
			this.actAnime.duration = float.Parse(str);
		}
		catch
		{
		}
	}

	// Token: 0x04000C17 RID: 3095
	private CutAct_Anime actAnime;

	// Token: 0x04000C18 RID: 3096
	[SerializeField]
	private InputField charaInput;

	// Token: 0x04000C19 RID: 3097
	[SerializeField]
	private InputField stateInput;

	// Token: 0x04000C1A RID: 3098
	[SerializeField]
	private InputField durationInput;
}
